unit Modelo;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.FMTBcd, Data.DB, Data.SqlExpr,
  Datasnap.Provider, Datasnap.DBClient, Vcl.ExtCtrls;

type
  TfrmModelo = class(TForm)
    qrBusca: TSQLQuery;
    cdsBusca: TClientDataSet;
    dsBusca: TDataSource;
    dspBusca: TDataSetProvider;
    qrConfirma: TSQLQuery;
    pnlPrincipal: TPanel;
    procedure FormKeyPress(Sender: TObject; var Key: Char);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmModelo: TfrmModelo;

implementation

uses
    Principal;

{$R *.dfm}

procedure TfrmModelo.FormKeyPress(Sender: TObject; var Key: Char);
begin
    If key = #13 then
    Begin
        Key:= #0;
        Perform(Wm_NextDlgCtl,0,0);
    end;
end;

end.
